// config/routes.ts
// 路由 不需要权限的 如 login  404

export default [
  {
    exact: true,
    path: '/login',
    component: '@/pages/login',
  },
  {
    path: '/',
    component: '@/layouts/index',
    routes: [
      {
        path: '/',
        redirect: '/dashboard',
      },
    ],
  },
];
